n = eval(input("请输入一个年份:"))
def isLeapYear(n):
    if n % 4 ==0 and n % 100 != 0 or n % 400 ==0:
        return True
    else:
        return False
print(isLeapYear(n))

